﻿using System;

namespace Sustainalytics.Utils.Exceptions.Universes
{
    public class WorksheetMissingException : Exception
    {
        public string WorksheetName { get; private set; }

        public WorksheetMissingException(string message, string worksheet): base (message)
        {
            WorksheetName = worksheet;
        }

        public WorksheetMissingException(string message, Exception innerException, string worksheet)
            : base(message, innerException)
        {
            WorksheetName = worksheet;
        }
    }
}
